// index.js
// 获取应用实例
const app = getApp()
Page({
  data: {
	  treeChooseData: [{
	        text: '树形菜单1',
	        childMenus: [
	          {
	            text: '树形菜单1-1',
	            childMenus: [
	              {
	                text: '树形菜单1-1-1',
					disable:true,
	                childMenus: [
	                  {
	                    text: '树形菜单1-1-1-1',
	                  },
	                  {
	                    text: '树形菜单1-1-1-2',
	                    id: 6,
	                  }
	                ]
	              },
	              {
	                text: '树形菜单1-1-2',
					childMenus: [
					  {
					    text: '树形菜单1-1-2-1',
					    childMenus: []
					  },
					  {
					    text: '树形菜单1-1-2-2',
					  }
					]
	              }
	            ]
	          },
	          {
	            text: '树形菜单1-2',
	          }
	        ]
	      },{
	        text: '树形菜单2',
	        id: 0,
	        childMenus: [
	          {
	            text: '生成的组件实例可以在组件的方法、生命周期函数和属性 observer 中通过 this 访问。组件包含一些通用属性和方法。',
	            id: 1,
				disable:true,
	            childMenus: [
	             
	            ]
	          },
	          {
	            text: 'Parent 2',
	            id: 6,
	          }
	        ]
	      },
		]
  },
  
  onLoad() {
    
  },
  // onMyEvent(e){
	 //  let _this = this 
	 //  console.log("ooo",e)
	 //  _this.setData({
		//   'treeChooseData':util.recursionFun(this.data.treeChooseData,e.detail)
	 //  })
  // },
})
